package itheima.zuoye.test3;

public class BMWMotorcycle extends Motorcycle implements GPSFunction {
    public BMWMotorcycle(String brand, double price) {
        super(brand, price);
    }

    @Override
    public void run() {
        System.out.println("宝马摩托车在跑");
    }

    @Override
    public void navigate() {
        System.out.println(getBrand() + " GPS导航启动，正在规划路线...");
    }
}

